package com.github.smartheye.fabric.performance.api.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.github.smartheye.fabric.performance.api.HyperledgerFacade;
import com.github.smartheye.fabric.performance.spring.service.HyperledgerService;

@RestController
public class HyperledgerFacadeImpl implements HyperledgerFacade{

	@Autowired
	HyperledgerService hyperledgerService;
	
	@Override
    @RequestMapping("/invoke1")
	public void invokeSet1Value() throws Exception {
		hyperledgerService.invokeSet1Value();
	}

}
